package com.test.xmlbean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = { "serviceClass", "bookingClass", "airline", "board", "dateBegin", "dateEnd", "flightNumber", "locationBegin", "cityBegin", "countryBegin", "locationEnd",
		"cityEnd", "countryEnd", "remarksSearchContext", "starting", "connected", "travelDuration" })
public class Segment {

	@XmlElement(name = "serviceClass")
	private String serviceClass;
	@XmlElement(name = "bookingClass")
	private String bookingClass;
	@XmlElement(name = "airline")
	private CommonBean airline;
	@XmlElement(name = "board")
	private CommonBean board;
	@XmlElement(name = "dateBegin")
	private String dateBegin;
	@XmlElement(name = "dateEnd")
	private String dateEnd;
	@XmlElement(name = "flightNumber")
	private String flightNumber;
	@XmlElement(name = "locationBegin")
	private CommonBean locationBegin;
	@XmlElement(name = "cityBegin")
	private CommonBean cityBegin;
	@XmlElement(name = "countryBegin")
	private CommonBean countryBegin;
	@XmlElement(name = "locationEnd")
	private CommonBean locationEnd;
	@XmlElement(name = "cityEnd")
	private CommonBean cityEnd;
	@XmlElement(name = "countryEnd")
	private CommonBean countryEnd;
	@XmlElement(name = "remarksSearchContext")
	private String remarksSearchContext;
	@XmlElement(name = "starting")
	private String starting;
	@XmlElement(name = "connected")
	private String connected;
	@XmlElement(name = "travelDuration")
	private String travelDuration;

	public String getServiceClass() {
		return serviceClass;
	}

	public void setServiceClass(String serviceClass) {
		this.serviceClass = serviceClass;
	}

	public String getBookingClass() {
		return bookingClass;
	}

	public void setBookingClass(String bookingClass) {
		this.bookingClass = bookingClass;
	}

	public CommonBean getAirline() {
		return airline;
	}

	public void setAirline(CommonBean airline) {
		this.airline = airline;
	}

	public CommonBean getBoard() {
		return board;
	}

	public void setBoard(CommonBean board) {
		this.board = board;
	}

	public String getDateBegin() {
		return dateBegin;
	}

	public void setDateBegin(String dateBegin) {
		this.dateBegin = dateBegin;
	}

	public String getDateEnd() {
		return dateEnd;
	}

	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}

	public String getFlightNumber() {
		return flightNumber;
	}

	public void setFlightNumber(String flightNumber) {
		this.flightNumber = flightNumber;
	}

	public CommonBean getLocationBegin() {
		return locationBegin;
	}

	public void setLocationBegin(CommonBean locationBegin) {
		this.locationBegin = locationBegin;
	}

	public CommonBean getCityBegin() {
		return cityBegin;
	}

	public void setCityBegin(CommonBean cityBegin) {
		this.cityBegin = cityBegin;
	}

	public CommonBean getCountryBegin() {
		return countryBegin;
	}

	public void setCountryBegin(CommonBean countryBegin) {
		this.countryBegin = countryBegin;
	}

	public CommonBean getLocationEnd() {
		return locationEnd;
	}

	public void setLocationEnd(CommonBean locationEnd) {
		this.locationEnd = locationEnd;
	}

	public CommonBean getCityEnd() {
		return cityEnd;
	}

	public void setCityEnd(CommonBean cityEnd) {
		this.cityEnd = cityEnd;
	}

	public CommonBean getCountryEnd() {
		return countryEnd;
	}

	public void setCountryEnd(CommonBean countryEnd) {
		this.countryEnd = countryEnd;
	}

	public String getRemarksSearchContext() {
		return remarksSearchContext;
	}

	public void setRemarksSearchContext(String remarksSearchContext) {
		this.remarksSearchContext = remarksSearchContext;
	}

	public String getStarting() {
		return starting;
	}

	public void setStarting(String starting) {
		this.starting = starting;
	}

	public String getConnected() {
		return connected;
	}

	public void setConnected(String connected) {
		this.connected = connected;
	}

	public String getTravelDuration() {
		return travelDuration;
	}

	public void setTravelDuration(String travelDuration) {
		this.travelDuration = travelDuration;
	}
}
